<template>
  <div>
    <div class="header">
      <div class="logo">
        <van-icon @click="back" name="arrow-left"/>
      </div>
      <div class="title">
        <h2>您的学历信息</h2>
        <h3>完善学历信息,会让合适的企业找到你</h3>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Header',
  data () {
    return {}
  },
  methods: {
    back () {
      this.$router.push('/work')
    }
  }
}
</script>

<style lang="scss" scoped>
.header {
  display: flex;
  align-items: center;
  height: 50px;
  background-color: #cccccc;

  .logo {
    width: 20%;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
  }

  .title {
    flex: 1;

    h2 {
      font-size: 18px;
      margin-bottom: 5px;
      color: #545454;
    }
  }

}

</style>
